/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023.
 * Description: header of sched clock tolerance clock async interface.
 * Author: wanglinhui <wanglinhui@huawei.com>
 * Create: 2023-09-21
 */

#ifndef SCHED_CLOCK_TOLERANCE_H
#define SCHED_CLOCK_TOLERANCE_H

#ifdef CONFIG_RTOS_HAL_TOLERANCE_CLOCK_ASYNC
extern void update_read(u64 (**read_ptr)(void), u32 mult, u32 shift);
#else
static inline void update_read(u64 (**read_ptr)(void), u32 mult, u32 shift)
{
}
#endif
#endif
